package com.hetao.xx.activity;

import android.annotation.SuppressLint;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;

import com.hetao.xx.R;
import com.hetao.xx.service.IntentManager;
import com.hetao.xx.service.MakeWorldService;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class CustomActivity extends AppCompatActivity {

    private final String Tag = getClass().getSimpleName();

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_custom);
        ButterKnife.bind(this);
        Toolbar toolbar = findViewById(R.id.toolbar);
        setSupportActionBar(toolbar);
        toolbar.setTitle("江湖");

    }

    @SuppressLint("NonConstantResourceId")
    @OnClick({R.id.custom_make_good})
    public void onClick(View v) {

        switch (v.getId()) {
            case R.id.custom_make_good:
                new MakeWorldService().makeGoods();
                break;

        }

    }



}
